package com.ktwlsoft.fundmanage.payload.fundIn;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Getter
@Setter
public class RegisterThirdPartyUser implements Serializable {

    @ApiModelProperty(name = "realName", value = "真实姓名", required = true)
    @NotBlank(message = "真实姓名")
    private String realName;

    @ApiModelProperty(name = "certificationType", value = "证件类型", required = true)
    @NotBlank(message = "证件类型不能为空")
    private String certificationType;

    @ApiModelProperty(name = "certificationId", value = "证件号码", required = true)
    @NotBlank(message = "证件号码不能为空")
    private String certificationId;

    @NotBlank(message = "电话号码不能为空")
    @ApiModelProperty(name = "mobilePhone", value = "电话号码", required = true)
    private String mobilePhone;

    @NotBlank(message = "验证码不能为空")
    @ApiModelProperty(name = "verifyCode", value = "验证码", required = true)
    private String verifyCode;

    @ApiModelProperty(name = "password", value = "用户密码,不传默认手机号后六位+a")
    private String password;

    @ApiModelProperty(name = "passwordStrength", value = "密码强度:1-弱，2-中，3-强")
    private Integer passwordStrength = 1;
}
